/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aptech.business;

import com.aptech.domain.JPA.BaseSearchCondition;
import com.aptech.domain.JPA.Category;
import com.aptech.domain.JPA.News;
import java.util.List;

/**
 *
 * @author Admin
 */
public interface INewsManager {
     public List<News> getAllNews() throws Exception;
     public News getNewsById(int newsId) throws Exception;
     public News getNewsDetail(BaseSearchCondition baseSearchCondition) throws Exception;
     public List<Category> getAllCategory() throws Exception;
     public List<News> getNewsForCategory(BaseSearchCondition baseSearchCondition) throws Exception;

}
